Skip to content

Conversation

@xavierleroy
Copy link
Contributor

@xavierleroy xavierleroy commented Dec 30, 2025

Casts were missing or were wrong. This affected only the compile-time evaluation of array sizes and switch case labels.

Fixes: #565
Fixes: #566
Fixes: #568

The arguments must always be converted to `tyop` before the comparison is done.

Fixes: #565
@xavierleroy xavierleroy merged commit ea88f42 into master Jan 9, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

32-bit shift UB in Ceval.ml unop result type mismatch in Ceval.ml Omod missing cast in Ceval.ml

2 participants